package com.aaa.custom.controller.orderContrllor;

import com.aaa.custom.service.orderService.OrderProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * fileName:OrderProductController
 * description:
 * author:xxx
 * createTime:2020/1/13 9:52
 * version:1.0.0
 */
@RestController
@RequestMapping("orderProduct")
public class OrderProductController {
    @Autowired
    private OrderProductService orderProductService;

    @RequestMapping("productByOrdersn")
    public Object getProductByOrdersn(String order_sn){
        return orderProductService.getProductByOrdersn(order_sn);
    }
}
